package com.leather.common.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
*
*  @author kevin
*/
@Data
@TableName("express")
public class Express implements Serializable {

    private static final long serialVersionUID = 1552291023616L;


    /**
    * 主键
    * 默认自增主键
    * isNullAble:0
    */
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    /**
    * 发布会编号
    * isNullAble:1
    */
    private Integer userId;

    /**
    * 快递地点
    * isNullAble:1
    */
    private int expressAddress;

    /**
    * 收货地址
    * isNullAble:1
    */
    private String getAddress;


    /**
    * 发布时间
    * isNullAble:1
    */
    private Date createTime;

    /**
    * 价格
    * isNullAble:1
    */
    private double price;

    /**
    * 接受人姓名
    * isNullAble:1
    */
    private Integer getUserId;

    /**
    * 收货时间
    * isNullAble:1
    */
    private Date getTime;

    /**
    * 0表示还没有被领取 1表示领取 2表示收货
    * isNullAble:1,defaultVal:0
    */
    private Integer getFlag;

    /**
    * 删除标记
    * isNullAble:1
    */
    private Integer flag;

    private String phone;

    private String code;

    private String name;

    private String type;


}
